// components/not-found/not-found.ts
Component({
  lifetimes: {
    attached() {
      const systemInfo = wx.getSystemInfoSync()
      console.log(systemInfo.safeArea.height)
      this.setData({ height: systemInfo.safeArea.height })
    }
  },
  /**
   * 组件的属性列表
   */
  properties: {
    title:{
      type:String,
      value:'要不去吃点什么🤔️'
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    height: <number>0
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})